﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai25_C_Sharp
{
    interface IA 
    {
        void m1();

    }
    interface IB
    {
       void m2();
    }
class C: IA ,IB
{
     void m1()
     {
           Console.WriteLine("Interface A");
     }
      void m2()
     {
       Console.WriteLine("Interface B");
     }
     void m3()
     {
       Console.WriteLine("Hello");
     }
}
static void Main() 
     {
         IA a=new C();
         a.m1();
         IB b = new C();
         b.m2();
     }
}
